.class Lcom/opongo/blogapp/activities/CommentsListActivity$3;
.super Landroid/content/BroadcastReceiver;
.source "CommentsListActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/opongo/blogapp/activities/CommentsListActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/opongo/blogapp/activities/CommentsListActivity;


# direct methods
.method constructor <init>(Lcom/opongo/blogapp/activities/CommentsListActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/opongo/blogapp/activities/CommentsListActivity$3;->this$0:Lcom/opongo/blogapp/activities/CommentsListActivity;

    .line 121
    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method


# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 2
    .parameter "c"
    .parameter "i"

    .prologue
    .line 125
    const-string v1, "COMMENT"

    invoke-virtual {p2, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/opongo/blogapp/common/Comment;

    .line 126
    .local v0, comment:Lcom/opongo/blogapp/common/Comment;
    iget-object v1, p0, Lcom/opongo/blogapp/activities/CommentsListActivity$3;->this$0:Lcom/opongo/blogapp/activities/CommentsListActivity;

    #getter for: Lcom/opongo/blogapp/activities/CommentsListActivity;->mAdapter:Lcom/opongo/blogapp/adapter/CommentViewAdapter;
    invoke-static {v1}, Lcom/opongo/blogapp/activities/CommentsListActivity;->access$9(Lcom/opongo/blogapp/activities/CommentsListActivity;)Lcom/opongo/blogapp/adapter/CommentViewAdapter;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/opongo/blogapp/adapter/CommentViewAdapter;->add(Ljava/lang/Object;)V

    .line 127
    iget-object v1, p0, Lcom/opongo/blogapp/activities/CommentsListActivity$3;->this$0:Lcom/opongo/blogapp/activities/CommentsListActivity;

    #getter for: Lcom/opongo/blogapp/activities/CommentsListActivity;->comments:Ljava/util/ArrayList;
    invoke-static {v1}, Lcom/opongo/blogapp/activities/CommentsListActivity;->access$4(Lcom/opongo/blogapp/activities/CommentsListActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 128
    return-void
.end method
